Near line 521 in wwwadmin.pl, you
will see a block of code which looks
like: $test_passwd = crypt($FORM{'password'}, substr($passwd, 0, 2));
if ($test_passwd eq $passwd && $FORM{'username'} eq $username) {
open(PASSWD,">$basedir/$passwd_file") || &error(no_change);
$new_password = crypt($FORM{'passwd_1'}, substr($passwd, 0, 2));
...
Change this to:
if ($FORM{'password'} eq $passwd && $FORM{'username'} eq $username) {
open(PASSWD,">$basedir/$passwd_file") || &error(no_change);
$new_password = $FORM{'passwd_1'};
...
Then, on line 678 (almost the end)
you will find a block of code:
$test_passwd = crypt($FORM{'password'}, substr($passwd, 0, 2));
if (!($test_passwd eq $passwd && $FORM{'username'} eq $username)) {
&error(bad_combo);
}
Change this to:
if (!($FORM{'password'} eq $passwd && $FORM{'username'} eq $username)) {
&error(bad_combo);
}
Then, open up passwd.txt (or
whatever you renamed your password
file to) and change the line from:
WebAdmin:aepTOqxOi4i8U
To:
WebAdmin:WebBoard
Or whatever you want your new
username:password combination to be.